package org.btik.light.meta.event.cmd;

import org.btik.light.meta.base.Command;

import java.util.List;

/**
 * @author lustre
 * @version 1.0
 * @since 2021/5/15 12:37
 * ShutDownCmd不是给设备的命令
 */
public class ThreadShutDownCmd implements Command {
    private String shutdownMsg;

    public ThreadShutDownCmd(String shutdownMsg) {
        this.shutdownMsg = shutdownMsg;
    }

    public String getShutdownMsg() {
        return shutdownMsg;
    }

    @Override
    public String getTarget() {
        return null;
    }

    @Override
    public int getCmdId() {
        return -1;
    }

    @Override
    public int opCode() {
        return 0;
    }

    @Override
    public List<?> getParams() {
        return null;
    }

}
